#include "stdio.h"


int twoDigitAdd(int a, int b) {
    //todo write your algorithm here
    unsigned int m,n,c;
	m = a/100;
	n = b/100;
	if(m)
		a = a - m*100;
	if(n)
		b = b - n*100;
	c = a + b;
	if(c >= 100)
		c -= 100;
	return c;
}



int main(void)
{
    int a = 232;
    int b = 332;
    printf("%d add %d is %d", a, b, twoDigitAdd(a, b));
	scanf("%d");
    return 0;
}
